//
//  NoteItemViews.h
//  DogeLegs
//
//  Created by 宋华 on 2017/8/19.
//  Copyright © 2017年 宋华. All rights reserved.
//

#import <UIKit/UIKit.h>
#define ItemsWidth ((iPhone4 || iPhone5) ? 90 : 100)
#define ItemTopSpace 10
#define kColumn 3
#define kItem_X_space 3
#define kItem_Y_space 5
@interface NoteItemViews : UIView

//isAddNote:true这种是post时候用的，false正常朋友权展示
- (id)initWithItems:(NSArray *)items topLeftPoint:(CGPoint)point isAddNote:(BOOL)isAddNote;

- (void)reloadItems:(NSArray *)items topLeftPoint:(CGPoint)point isAddNote:(BOOL)isAddNote;

- (void)reloadItems:(NSArray *)items;

- (CGFloat)totalWidth;

- (CGFloat)totalHeight;

+ (CGSize)calculateTotalSize:(NSArray *)noteImgs;


@property (nonatomic,copy)AddPictureBlock addPicBlock;

@property (nonatomic,copy)DeletePictureBlock deletePicBlock;



@end
